package com.aaa.web.service.iemployeeservice;

import com.aaa.entity.BackRole;
import com.aaa.entity.Per;
import com.aaa.web.commons.EmpQuery;
import com.aaa.web.commons.Result;

import java.util.List;
import java.util.Map;

public interface IRoleService {
    Map getAllRole(EmpQuery query);

    Map getRoleById(String telephone);

    List<Per> getRolePer(Integer id);

    Result updatePer(int[] array, BackRole role);

    Result updateRoleState(BackRole role);

    Result deleteRole(Integer id);

    Result addRole(BackRole role);
}
